import Layout from '@/layout'

export default {
  path: '/information',
  component: Layout,
  redirect: '/dashboard',
  meta: {
    title: '基础信息管理',
    icon: 'el-icon-notebook-2'
  },
  children: [
    {
      path: 'warehouse',
      component: () => import('@/views/information/warehouse'),
      meta: {
        title: '仓库管理'
      }
    },
    {
      path: 'arer',
      component: () => import('@/views/information/arer'),
      meta: {
        title: '库区管理'
      }
    },
    {
      path: 'location',
      component: () => import('@/views/information/location'),
      meta: {
        title: '库位管理'
      }
    },
    {
      path: 'location-view',
      component: () => import('@/views/information/location-view'),
      meta: {
        title: '库位视图'
      }
    },
    {
      path: 'goods',
      component: () => import('@/views/information/goods'),
      meta: {
        title: '货品管理'
      }
    },
    {
      path: 'goods-type',
      component: () => import('@/views/information/goods-type'),
      meta: {
        title: '货品类型管理'
      }
    },
    {
      path: 'warehouse/details',
      component: () => import('@/views/information/warehouse/details'),
      hidden: true

    }
  ]

}
